package com.zhuliwei.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author 朱力维
 * @time 2022/11/2 12:22
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class RoleVo {
    @ExcelIgnore
    private String id;

    //角色名称
    @ExcelProperty("角色名称")
    private String roleName;
    //权限字符
    @ExcelProperty("权限字符")
    private String roleKey;
    //显示顺序
    @ExcelIgnore
    private Integer roleSort;
    //状态（0正常 1停用）
    @ExcelProperty("状态0：正常1：停用")
    private String status;
    @ExcelProperty("创建时间")
    private Date createTime;
}
